package com.weipai.springboot.module.mapper;

import com.weipai.springboot.model.CustomerGift;
import org.apache.ibatis.annotations.Param;

public interface CustomerGiftMapper {
    int deleteByPrimaryKey(Integer customerGiftId);

    int insert(CustomerGift record);

    int insertSelective(CustomerGift record);

    CustomerGift selectByPrimaryKey(Integer customerGiftId);

    int updateByPrimaryKeySelective(CustomerGift record);

    int updateByPrimaryKey(CustomerGift record);

    //验证用户是否领取过
    Integer verifiCustomerGift(@Param("customerId") String customerId, @Param("giftId") String giftId);
}